const mongoose = require("./db");

const searchSchema = new mongoose.Schema({
    // 设定的集合的结构
    searchId: {type:String},
    userId: {type:String},
    keyWord: {type:String},
    time: {type: Number}
})

module.exports = mongoose.model("searchs", searchSchema);

